-- GENERATED SPELL FOR [Banshee Soulclaimer] --


function spell0_29893(pUnit, Event) --@Banshee Wail,n/a--
pUnit:FullCastSpellOnTarget(28993,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29893', 1500, 1)
end

function Sorts_29893(pUnit, Event)
local choix_sorts_29893 = math.random(0, 0)
if choix_sorts_29893 == 0 then
pUnit:RegisterEvent('spell0_29893', 1, 1)
end
end

function mob29893_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29893', math.random(1500, 3000), 1)
end

function mob29893_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29893_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29893_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29893, 1, 'mob29893_Action')
RegisterUnitEvent(29893, 2, 'mob29893_Leave')
RegisterUnitEvent(29893, 3, 'mob29893_Kill')
RegisterUnitEvent(29893, 4, 'mob29893_Die')
